package com.gsy.request;


import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.context.annotation.Primary;

/**
 * @author lby
 * @version 1.0
 * @description: 发送短信参数
 * @date 2019/7/19 14:26
 */
@ApiModel(value = "发送短信", description = "发送短信")
public class SendShortMessageRequest extends BaseRequest {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "phoneNumbers", value = "手机号", dataType = "String", example = "18760367991", required = true)
    @Pattern(regexp = "^1[3456789]\\d{9}$")
    private String phoneNumbers;// 手机号

    public String getPhoneNumbers(){return phoneNumbers;}
    public void setPhoneNumbers(String phoneNumbers){ this.phoneNumbers = phoneNumbers;}

}
